<template>
    <section class="wrapper">
      <myHeader :obj="myObj" @events="events"></myHeader>
      <main>
        <h2 class="editTitle_0313">填写你的行家信息，让好友为你推荐</h2>
        <div class="title_0313">个人职称</div>
        <div class="work_0313">
          <label class="label_0313">职业</label>
          <input class="workValue_0313" placeholder="预设内容" type="text">
        </div>
        <div class="title_0313">擅长领域</div>
        <div class="textarea_0313">
          <textarea placeholder="内容描述"></textarea>
        </div>
        <div class="title_0313 deepColor_0313">适合哪类人群（1-6个）</div>
        <div class="labelsWrap_0313">
          <span class="labelItem_0313">金融大师</span>
          <span class="labelItem_0313">生活自理</span>
          <span class="labelItem_0313">金融大师</span>
          <span class="labelItem_0313">生活自理</span>
          <span class="labelItem_0313">金融大师</span>
          <span class="labelItem_0313">生活自理</span>
          <span class="addSpan_0313">添加标签+</span>
        </div>
        <router-link to="/recommendedUser"><button class="send_0313">提交</button></router-link>
      </main>
    </section>
</template>
<script>
import myHeader from './base/myHeader';
export default {
  props:['obj'],
  data () {
    return {
      myObj: {
        type: 3,
        text: '成为行家'
      }
      
    }
  },
  methods: {
    events(i){
      if(i == 2) {
        history.back();
      }
    },
  },
  components: {
    myHeader
  }
}

</script>
<style lang="less">
  .wrapper {
    width: 3.75rem;
    height: 100%;
    main {
      padding-top: .44rem;
      height: 100%;
      width: 3.75rem;
      position: absolute;
      top: 0;
      box-sizing: border-box;
      overflow-y: auto;
      .send_0313 {
        width: 3.35rem;
        height: .47rem;
        display: block;
        border: none;
        background: #557AFF;
        color: white;
        font-size: .18rem;
        margin: .9rem auto .4rem;
        border-radius: .05rem;
      }
      .labelsWrap_0313 {
        padding: .13rem .15rem 0;
        overflow: hidden;
        span {
          display: block;
          float: left;
          padding: .05rem .1rem;
          font-size: .14rem;
          color: #FFFFFF;
          background: #39393D;
          border-radius: .04rem;
          margin: 0 .1rem .1rem 0;
        }
        .labelItem_0313 {

        }
        .addSpan_0313 {

        }
      }
      .work_0313 {
        width: 100%;
        height: .44rem;
        padding: .1rem .15rem;
        box-sizing: border-box;
        background: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .label_0313 {
          font-size: .17rem;
          color: #000000;
          font-weight: 500;
        }
        .workValue_0313{
          width: 2.5rem;
          height: .24rem;
          border: none;
          font-size: .17rem;
          color: #B2B2B2;
        }
      }
      .editTitle_0313 {
        font-size: .18rem;
        color: #39393D;
        padding: .15rem;
        padding-bottom: 0;
        font-weight: 500;
      }
      .title_0313 {
        padding: .21rem .16rem .1rem;
        color: #888888;
        font-size: .14rem;
      }
      .deepColor_0313 {
        font-size: .14rem;
        color: #353535;
        font-weight: 500;
      }
      .textarea_0313 {
        width: 3.75rem;
        height: .75rem;
        background: white;
        padding: .11rem .15rem;
        box-sizing: border-box;
        textarea {
          font-size: .17rem;
          color:#B2B2B2;
        }
      }
    }

  }
</style>
